package com.sm.model;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.util.Date;

public class ShopCar {

  private Integer shopCarId;
  private Integer userId;
  private Integer goodsId;
  private Integer goodsNumber;
  private double goodsMarketPrice;
  private double goodsDiscountPrice;
  private double goodsVipPrice;
  private String goodsName;
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date createTime;
  private String format;


  public Integer getShopCarId() {
    return shopCarId;
  }

  public void setShopCarId(Integer shopCarId) {
    this.shopCarId = shopCarId;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public Integer getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(Integer goodsId) {
    this.goodsId = goodsId;
  }

  public Integer getGoodsNumber() {
    return goodsNumber;
  }

  public void setGoodsNumber(Integer goodsNumber) {
    this.goodsNumber = goodsNumber;
  }

  public double getGoodsMarketPrice() {
    return goodsMarketPrice;
  }

  public void setGoodsMarketPrice(double goodsMarketPrice) {
    this.goodsMarketPrice = goodsMarketPrice;
  }

  public double getGoodsDiscountPrice() {
    return goodsDiscountPrice;
  }

  public void setGoodsDiscountPrice(double goodsDiscountPrice) {
    this.goodsDiscountPrice = goodsDiscountPrice;
  }

  public double getGoodsVipPrice() {
    return goodsVipPrice;
  }

  public void setGoodsVipPrice(double goodsVipPrice) {
    this.goodsVipPrice = goodsVipPrice;
  }

  public String getGoodsName() {
    return goodsName;
  }

  public void setGoodsName(String goodsName) {
    this.goodsName = goodsName;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getFormat() {
    return format;
  }

  public void setFormat(String format) {
    this.format = format;
  }
}
